package com.example.base.net

object Const {
    const val BASE_URL = "http://10.161.9.80:7035"

    const val PARAM_TOKEN = "token"
    const val MEDIA_TYPE = "application/json"

    //    "sign": "string",
//    "time": "string",
//    "uName": "czb1",
//    "uPwd": "123456"
    //登录相关
    const val URL_LOGIN = "/sysUser/loginUser"
    const val PARAM_USERNAME = "uName"
    const val PARAM_PASSWORD = "uPwd"
    const val PARAM_TIME = "time"
    const val PARAM_SIGN = "sign"
    const val PARAM_UID = "uId"

    //新闻相关
    const val PARAM_NEWS = "/sysNews/selAllNews"
    const val PARAM_ID = "page"

    //视频相关
    const val URL_VIDEOS = "/video/findVideos"
    const val PARAM_CURRENT_PAGE = "currentPage"
    const val PARAM_PAGE_SIZE = "pageSize"


    const val PARAM_HOME = "home"

    //签到/签退
    const val URL_SIGN_START = "/SysSign/startSign"
    const val PARAM_SIGN_START_ADDRESS = "startAddress"
    const val PARAM_SIGN_START_TIME = "startTime"
    const val PARAM_SIGN_USER_ID = "userId"

    const val URL_SIGN_END = "/SysSign/endSign"
    const val PARAM_SIGN_END_ADDRESS = "endAddress"
    const val PARAM_SIGN_END_TIME = "endTime"
    const val PARAM_IS_SIGN = "isSign"

    //考勤
    const val URL_SIGN_SELMONTH = "/SysSign/selMonth"
    const val PARAM_MONTH = "month"

    //车位相关
//    "parkEnd": "string",
//    "parkName": "string",
//    "parkStart": "string",
//    "parkTime": "string",
//    "parkUser": 0
    const val PARKING_URL = "/sysParking/selParking"
    const val PARAM_PARKING_ID = "parkId"
    const val URL_PARKING_DELETE = "/sysParking/delParking"
    const val PARAM_PARKING_BEAN = "parkingBean"
    const val URL_CAR_COLOR = "/sysColor/selColor"
    const val URL_ADD_PARKING = "/sysParking/addParking"
    const val PARAM_PARK_END = "parkEnd"
    const val PARAM_PARK_NAME = "parkName"
    const val PARAM_PARK_START = "parkStart"
    const val PARAM_PARK_TIME = "parkTime"
    const val PARAM_PARK_USER = "parkUser"

    //维修
    const val URL_ALL_REPAIR = "/sysRepair/selAllRepair"
    //添加维修
//    "repairDescribe": "string",
//
//    "repairTime": "string",

    const val url_ADD_REPAIR = "/sysRepair/addRepair"
    const val PARAM_REPAIR_DESCRIBE = "repairDescribe"
    const val PARAM_REPAIR_TIME = "repairTime"

    //来访相关
//    {
//        "userId": 0,
//    }
    const val URL_SEL_VISITOR = "/sysVisitor/selVisitor"

    //    {
//        "carNum": "string",
//        "visitorDescribe": "string",
//        "visitorEnd": "string",
//        "visitorStart": "string",
//        "visitorTime": "string"
//    /sysVisitor/addVisitor
//    }
    const val URL_ADD_VISITOR = "/sysVisitor/addVisitor"
    const val PARAM_CAR_NUM = "carNum"
    const val PARAM_VISITOR_DESCRIBE = "visitorDescribe"
    const val PARAM_VISITOR_END = "visitorEnd"
    const val PARAM_VISITOR_START = "visitorStart"
    const val PARAM_VISITOR_TIME = "visitorTime"
    const val PARAM_VISITOR_ID = "visitorId"
    const val URL_VISITOR_DELETE = "/sysVisitor/delVisitor"

    //添加新闻
//    "newsTime": "string",
//    "newsTitle": "string",
//    "newsValue": "string",
//    "tagId": 0,
    const val URL_ADD_NEWS = "/sysNews/addNews"
    const val PARAM_ADD_NEWS_TIME = "newsTime"
    const val PARAM_ADD_NEWS_TITLE = "newsTitle"
    const val PARAM_ADD_NEWS_VALUE = "newsValue"
    const val PARAM_ADD_NEWS_TAG_ID = "tagId"
}